package com.ehome.poct.base.dao.banner.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ehome.mybatisplus.autoconfigure.BaseEntityOld;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.time.LocalDate;

/**
 * @description:曝光率
 * @author: muqiu
 * @time: 2022/3/10 11:21
 */

@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("test_banner_exposure")
public class TestBannerExposureDO extends BaseEntityOld<TestBannerExposureDO> {
    /**
     * 主键
     */
    @TableId(value = "test_exposure_id")
    private Long testExposureId;
    /**
     * 广告id
     */
    @TableField(value = "banner_item_id")
    private Long bannerItemId;
    /**
     * 日期
     */
    @TableField(value = "date")
    private LocalDate date;
    /**
     * 曝光率
     */
    @TableField(value = "exposure")
    private Long exposure;
}
